from flask import Blueprint

from common.libs.Helper import ops_render

error_page = Blueprint("error_page", __name__)


@error_page.route('/401')
def error_page_401():
    return ops_render('error/401.html')


@error_page.route('/404')
def error_page_404():
    return ops_render('error/404.html')


@error_page.route('/500')
def error_page_500():
    return ops_render('error/500.html')
